﻿public class ESF_SubPackageManager
{ 
    /// <summary>
    /// 获取Json
    /// </summary>
    /// <param name="subpackageinfo"></param>
    /// <returns></returns>
    public static string GetSubPackageJson(SubPackageInfo subpackageinfo) {
        string json = subpackageinfo.ESF_JsonSerialize();
        return json;
    }
    /// <summary>
    /// 解析
    /// </summary>
    /// <param name="subpackjson">Json</param>
    public static SubPackageInfo Analysis(string subpackjson) {
        return subpackjson.ESF_JsonDeserialize<SubPackageInfo>();
    }
}

